﻿@{
    //非管理员的左侧导航菜单
    var controller = Url.RequestContext.RouteData.Values["controller"].ToString();
    var action = Url.RequestContext.RouteData.Values["action"].ToString();
}
<div class="well" style="padding: 8px 0;">
    <ul class="nav nav-list">
        <li class="nav-header">Menu </li>
        <li class="@(controller.ToLower().Equals("home") ? "active" : "")"><a href="#"><i class="icon-home @(controller.ToLower().Equals("home") ? "icon-white" : "") ">
        </i>Events</a> </li>
    </ul>
</div>
